package com.example.light.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@ApiModel(value = "教室信息")
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("sys_room")
public class room {
    @ApiModelProperty("教室id")
    @TableId(type = IdType.AUTO)
    private Integer roomId;

    @ApiModelProperty("教室编号")
    private String roomNumber;

    @ApiModelProperty("教室名称")
    private String roomName;
}
